//
//  AppDelegate.swift
//  WeiBo(Swift)
//
//  Created by 周成龙 on 16/9/18.
//  Copyright © 2016年 ZCL. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        
        
        // 设置导航外观
        UINavigationBar.appearance().tintColor = UIColor.orange
        
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        window?.makeKeyAndVisible()
//        window?.rootViewController = MainViewController()
        
        let sb = UIStoryboard.init(name: "Welcome", bundle: nil)
        let vc = sb.instantiateInitialViewController()!
        window?.rootViewController = vc
        
        return true
    }
}


func ZLog<T>(message: T, fileName: String = #file, funcName: String = #function, lineNumber: Int = #line) {
    //    print("\(funcName)[\(lineNumber)]:\(message)")
    #if DEBUG
        print("\(funcName)[\(lineNumber)]:\(message)")
    #endif
}

